package com.yanqu.road.entity.activity.zhenhuan.secondProcess;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.utils.date.DateHelper;

@FieldTypeAnnotation(tableName = "t_u_zhenhuan_party_history", desc = "甄嬛传第二阶段玩家结算的茶话会")
public class UserZhenHuanPartyHistoryData extends DataObject {
    @FieldTypeAnnotation(select = true, update = true, desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(select = true, update = true, desc = "用户id")
    private long userId;
    @FieldTypeAnnotation(update = true, desc = "茶话会id")
    private long partyId;
    @FieldTypeAnnotation(desc = "入座位置")
    private int pos;
    @FieldTypeAnnotation(desc = "领取的时间")
    private long getTime;
    @FieldTypeAnnotation(desc = "结算的奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "宴会完成时间")
    private long finishTime;

    public UserZhenHuanPartyHistoryData() {
    }

    public UserZhenHuanPartyHistoryData(int activityId, long userId, long partyId, long finishTime) {
        this.activityId = activityId;
        this.userId = userId;
        this.partyId = partyId;
        this.finishTime = finishTime;
        setInsertOption();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getPartyId() {
        return partyId;
    }

    public void setPartyId(long partyId) {
        this.partyId = partyId;
    }

    public int getPos() {
        return pos;
    }

    public void setPos(int pos) {
        this.pos = pos;
        setUpdateOption();
    }

    public long getGetTime() {
        return getTime;
    }

    public void setGetTime(long getTime) {
        this.getTime = getTime;
        setUpdateOption();
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
        setUpdateOption();
    }

    public long getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(long finishTime) {
        this.finishTime = finishTime;
        setUpdateOption();
    }
}
